<style type="text/css">
	.fancybox-nav {
		display: none;
	}
</style>
<div style="clear: both;"></div>
<div class="text_cont">
	<div class="video_cont">
		<? foreach ($videos as $key => $value): ?>
			<a class="fancybox fancybox.iframe" rel="gallery" href="<? preg_match('/(http:[^"]+)/i', $value->video, $matches); echo $matches[0] ?>?autoplay=1" title="<?= $value->description ?>">
				<div class="video">
					<img src="<?= URL::site('static/uploads/video/'.$value->image) ?>" style="width: 210px; height: 160px" alt="" />
					<div class="play"></div>
				</div>
			</a>
		<? endforeach ?>
	</div>
	<div style="clear: both"></div>
	<?= $pagination ?>
</div>